package com.woniuxy.homepage.core.service;

import com.woniuxy.homepage.core.model.CarGoodsActivity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.homepage.core.vo.CarGoodsActivityVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gmx
 * @since 2021-07-03
 */
public interface CarGoodsActivityService extends IService<CarGoodsActivity> {

    List<CarGoodsActivityVo> selectAll(int count);

    int buyActivityGoods(Integer goodsId, Integer userId);
}
